package com.spa.application.dto.admin;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
@JsonInclude
public class TransferOrderExportDTO {

    @ExcelProperty(value = "ID")
    @ColumnWidth(20)
    private String id;

    @ExcelProperty(value = "订单编号")
    @ColumnWidth(20)
    private String orderCode;

    @ExcelProperty(value = "服务项目")
    @ColumnWidth(20)
    private String serviceName;

    @ExcelProperty(value = "下单技师")
    @ColumnWidth(20)
    private String appointMassagistName;

    @ExcelProperty(value = "服务技师")
    @ColumnWidth(20)
    private String serveMassagistName;

    @ExcelProperty(value = "所属门店")
    @ColumnWidth(20)
    private String shopName;

    @ExcelProperty(value = "预约时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointTime;

    @ExcelProperty(value = "下单时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderCreateTime;

    @ExcelProperty(value = "流转操作人")
    @ColumnWidth(20)
    private String operName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "流转操作时间")
    @ColumnWidth(20)
    private Date operData;

}
